package ${package}services;

import ${package}pojo.PageDTO;
import ${package}pojo.ResultBean;
import ${package}pojo.${pojo_name_query_param};
import ${package}pojo.${pojo_name_vo};
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;
/**
* @author Auto generate
**/
public interface ${pojo_name_service}  {
    /**
    * 新增
    * @author Auto generate
    * @date ${gen_time}
    **/
    public ResultBean insert(${pojo_name_vo} ${pojo_field_name_vo});

    /**
    * 刪除
    * @author Auto generate
    * @date ${gen_time}
    **/
    public ResultBean delete(Integer id);
    /**
    * 批量删除
    * @author Auto generate
    * @date ${gen_time}
    **/
    ResultBean batchDelete(List<Integer> ids);
    /**
    * 更新
    * @author Auto generate
    * @date ${gen_time}
    **/
    public ResultBean update(${pojo_name_vo} ${pojo_field_name_vo});

    /**
    * 查询 根据主键 id 查询
    * @author Auto generate
    * @date ${gen_time}
    **/
    public ResultBean details(Integer id);

    /**
    * 查询 分页查询
    * @author Auto generate
    * @date ${gen_time}
    **/
    public PageDTO pageList(${pojo_name_query_param} ${pojo_field_name_query_param});

    /**
    * excel 模版下载
    * @author Auto generate
    * @date ${gen_time}
    **/
    void excelTemplate(HttpServletRequest request, HttpServletResponse response);

    /**
    * excel 数据导入
    * @author Auto generate
    * @date ${gen_time}
    **/
    ResultBean excelImport(MultipartFile file);
}
